<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			p[class="22"]{
				background: #000000;
			}
			p[class$="22"]{
				background: red;
			}
			p[class^="22"]{
				background: #0000FF;
			}
		</style>
			
		</style>
			
	</head>
	<body>
		<p class="active">1</p>
		<p>2</p>
		<p>3</p>
		<ul>
			<li>
				<p id="one">4</p>
			</li>
			<li>
				<p class="22">5</p>
			</li>
			<li>
				<p>6</p>
			</li>
		</ul>
	</body>
</html>
